package cn.edu.scau.cmi.wuyihan.simpleFactoryMethod.domain;

public class Chicken extends Meat {

	private String name;
	
	public Chicken() {
	}

	public Chicken(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String cook() {
		return name + " is delicious!";
	}

}
